package com.tecode.service.impl;

import com.tecode.bean.FavotiteMusic;
import com.tecode.mapper.FavotiteMusicMapper;
import com.tecode.service.FavoriteMusicService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * Created by Administrator on 2019/4/12.
 */
@Service
public class FavoriteMusicServiceImpl implements FavoriteMusicService {
    @Autowired
    private FavotiteMusicMapper favotiteMusicMapper;


    @Override
    public int delMusicFromFavorite(Integer musicId, Integer favoriteId) {
        return favotiteMusicMapper.delMusicFromFavorite(musicId,favoriteId);
    }
}
